<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<html>
<body>

<div id="div_title">
<h3>告警信息修改</h3>
</div>


<!-- Data Form -->
<%@include file="/white/common/message.jsp"%>
<s:form method="post" action="alarmInfoAction!update" theme="simple">
	<s:token />
	<table cellpadding="0" cellspacing="0" class="t_form">

		<tr>
			<td width="15%">告警类别:</td>
			<td><s:select name="alarmInfo.alarmType" list="alarmTypeList"
				listKey="dictValue" listValue="dictName" /> <span class="red_star">*</span></td>
		</tr>
		<tr>
			<td width="15%">告警级别:</td>
			<td><s:select name="alarmInfo.alarmLevel" list="alarmLevelList"
				listKey="dictValue" listValue="dictName" /> <span class="red_star">*</span></td>
		</tr>
		<tr>
			<td width="15%">告警状态:</td>
			<td><s:select name="alarmInfo.status" list="alarmStatusList"
				listKey="dictValue" listValue="dictName" /> <span class="red_star">*</span></td>
		</tr>
		<tr>
			<td width="15%">通知机制:</td>
			<td><s:select name="alarmInfo.informType" list="informTypeList"
				listKey="dictValue" listValue="dictName" /> <span class="red_star">*</span></td>
		</tr>
		<tr>
			<td width="15%">告警原因:</td>
			<td><s:textfield name="alarmInfo.cause" maxlength="1024"
				size="100" /> <span class="red_star">*</span></td>
		</tr>
		<tr>
			<td width="15%">清除过程:</td>
			<td><s:textfield name="alarmInfo.recoverDesc" maxlength="1024"
				size="100" /></td>
		</tr>
		<tr>
			<td width="15%">告警时间:</td>
			<td><fmt:formatDate value="${alarmInfo.createTime}"
				pattern="yyyy-MM-dd hh:mm:ss" /></td>
		</tr>
		<tr>
			<td width="15%">确认时间:</td>
			<td><fmt:formatDate value="${alarmInfo.confirmTime}"
				pattern="yyyy-MM-dd hh:mm:ss" /></td>
		</tr>
		<tr>
			<td width="15%">清除时间:</td>
			<td><fmt:formatDate value="${alarmInfo.recoverTime}"
				pattern="yyyy-MM-dd hh:mm:ss" /></td>
		</tr>
		<tr>
			<td width="15%">最后处理人:</td>
			<td>${lastUpdateUser.name}</td>
		</tr>
	</table>

	<div id="div_button"><s:submit key="修改"
		action="alarmInfoAction-%{alarmInfo.id}!update"
		onclick="if(validateForm()){return true;}else{return false;}"
		cssClass="input_button" /> <s:submit key="返回"
		onclick="form.action='alarmInfoAction!queryByPage.action';return true;"
		cssClass="input_button" /></div>

	<s:hidden name="searchString" />

</s:form>

<!--Data Form End -->

</body>

</html>